package com.itheima.stock.mapper;

import com.itheima.stock.entity.StockBlockRtInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;


/**
 * @author 28188
 */
@Mapper
public interface StockBlockRtInfoMapper {

    List<StockBlockRtInfo> sectorAllLimit(@Param("openDate") LocalDateTime openDate, @Param("closeDate") LocalDateTime closeDate);

    /**
     * 板块信息批量插入
     * @param list
     * @return
     */
    int insertBatch(List<StockBlockRtInfo> list);
}




